const roleRouter = require("express").Router();
const roleController = require("../../controller/role/index");

roleRouter
	.get("/", roleController.getRoleList)
	.post("/", roleController.addRole)
	.put("/", roleController.updateRole)
	.delete("/", roleController.deleteRole);

module.exports = roleRouter;
